#ifndef __NBTTYPEEXCEPTION__
#define __NBTTYPEEXCEPTION__

#include <exception>

/// <summary>
/// An exception thrown for bad tag types.
/// </summary>
class NBTTypeException : std::exception
{
public:
	NBTTypeException() :
		std::exception("A type was requested for a tag that is not of this type.")
	{
	};
};

#endif __NBTTYPEEXCEPTION__